package com.wxapp.market.api.pojo.vm.ad;

import com.wxapp.common.constant.base.IBaseResponse;
import com.wxapp.common.constant.enums.ClientTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class PBaseVm extends IBaseResponse {
    /**
     * 父id
     */
    @Schema(description = "父id")
    private String pid;

    /**
     * 广告名称
     */
    @Schema(description = "广告名称")
    private String name;

    /**
     * 编码
     */
    @Schema(description = "编码")
    private String code;

    /**
     * 描述
     */
    @Schema(description = "描述")
    private String describes;

    /**
     * 位置
     */
    @Schema(description = "位置")
    private String position;

    /**
     * 连接地址
     */
    @Schema(description = "连接地址")
    private String connectUrl;

    /**
     * 客户端类型
     */
    @Schema(description = "客户端类型")
    private ClientTypeEnum clientType;
    /**
     * 可用
     */
    @Schema(description = "可用")
    private Boolean avail;
    /**
     * 推广首图
     */
    @Schema(description = "推广首图")
    private String imageUrl;
}
